← Back to issue list

remote-build `version: git` resolved too late

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2050860
Type
issue
State
open
Author
~saviq
Labels
Created
2024-01-23 06:45:29.919202+00:00
Updated
2024-01-25 19:39:00.358179+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When `remote-build`ing with a `version: git` stanza, the SHA will be that of the Snapcraft-mangled source, not the original one. Snapcraft should probably resolve the `git` version before it sends the source up to Launchpad for building. Related to https://bugs.launchpad.net/snapcraft/+bug/1973199, though using `git describe` in override stanzas will obviously be affected by the mangling.

Evaluation history

No evaluation history available.